<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<link href="__STATIC__admin/css/admin-min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__STATIC__admin/css/admin.css" />
<link href="__STATIC__admin/iconfont/1.0.7/iconfont.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__STATIC__admin/css/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__admin/css/skin/default/skin.css" id="skin" />
<link href="__STATIC__admin/css/admin-style.css" rel="stylesheet" type="text/css" />

<link href="__STATIC__admin/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
	<span class="c-gray en">&gt;</span>
    <a href="{:U('admin/curl/index')}">采集管理</a>
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container container">
	<form action="" method="post" class="form form-horizontal" id="form" enctype="multipart/form-data">

	<div class="row" style="border-radius: 10px;background:#ddd;text-indent: 30px;padding: 10px 0px;">第一步:设置任务信息</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>任务名称：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" style="width: 30%;" value="{$data.title}" placeholder="" id="" name="name">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>采集网址：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" style="width: 30%;" value="{$data.title}" placeholder="" id="" name="url">
			</div>
		</div>
	<div class="row" style="border-radius: 10px;background:#ddd;text-indent: 30px;padding: 10px 0px;">第二步:设置 列表采集规则</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>分页规则：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="page-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>列表规则：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="list-rule" id="" class="textarea"></textarea>
			</div>
		</div>

	<div class="row" style="border-radius: 10px;background:#ddd;text-indent: 30px;padding: 10px 0px;">第三步:设置 内容采集规则</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>标题规则：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="title-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>作者：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="auther-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>来源：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="source-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>时间：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="time-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>内容：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="content-rule" id="" class="textarea"></textarea>
			</div>
		</div>

	<div class="row" style="border-radius: 10px;background:#ddd;text-indent: 30px;padding: 10px 0px;">内容处理</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>过滤字符：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="content-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>替换字符：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="content-rule" id="" class="textarea"></textarea>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button  class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存提交</button>
			</div>
		</div>
	</form>
</div>

<!---->
<script type="text/javascript" src="__STATIC__admin/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__jquery.validation/1.14.0/jquery.validate.min.js"></script>
<script type="text/javascript" src="__STATIC__jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="__STATIC__jquery.validation/1.14.0/messages_zh.min.js"></script>

<script type="text/javascript" src="/Template/default/js/swfupload.js"></script>
<script type="text/javascript" src="/Template/default/js/jquery.swfupload.js"></script>
<script type="text/javascript">
	function _q(obj)

	{

		return document.getElementById(obj);

	}
	var s1;

	$(function(){

		$("#form").validate({
			rules: {
				title: "required",
				linkman: "required",
				valid_date: "required",
				password: "required",
				content: "required",
			},
			messages: {
				title: "该项不能为空",
				linkman: "该项不能为空",
				valid_date: "该项不能为空",
				password: "该项不能为空",
				content: "该项不能为空",
			}
		});

	})

</script>
<style type="text/css">
	#swfupload-control p {
		margin: 10px 5px;
		line-height: 25px;
		height: 25px;
		color: #666666;
		font-size: 12px;
	}

	#preview {
		margin: 0;
		padding: 0;
		width: 500px;
	}

	#preview li {
		list-style: none;
		margin: 2px;
		border: 1px solid #ccc;
		padding: 5px;
		font-size: 12px;
		font-family: Arial, Helvetica, sans-serif;
		color: #333;
		float: left;
		width: 140px;
		height: auto;
		background: #fff;
		position: relative;
	}

	#preview li .progressbar {
		border: 0px solid #333;
		height: 5px;
		overflow: hidden;
		margin-top: 3px;
		background: #fff;
	}

	#preview li .progress {
		background: #009900;
		width: 0%;
		height: 5px;
	}

	#preview li p {
		margin: 0;
		line-height: 18px;
	}

	#preview li.success {
		border: 1px solid #cccccc;
		background: #ffffff;
	}

	#preview li span.cancel {
		cursor: pointer;
	}

	#preview li .pic {
		width: 140px;
		height: 110px;
	}

	#preview li .pic img {
		width: 140px;
		height: 110px;
	}

	.messbox10 {
		width: 186px;
		height: 210px;
		background-image: url(__THEME_PATH__images/messlistbg.gif);
		background-color: #FFFFFF;
		line-height: 20px;
		font-size: 14px;
		float: left;
		overflow: hidden;
		margin-right: 8px;
		margin-bottom: 8px;
		position: relative;
	}

	.messbox10 .boxContent a {
		text-decoration: none;
		color: #0066cc
	}

	.messbox10 .boxContent {
		font-size: 12px;
		color: #333333;
		font-family: Verdana, Arial, "宋体";
		letter-spacing: 0px;
	}

	.boxTitle {
		height: 40px;
		padding: 5px;
		overflow: hidden;
		line-height: 20px;
		text-align: center;
	}

	.boxTitle a {
		color: #197ac5;
		text-align: center;
		font-weight: lighter;
		text-decoration: none;
	}

	.boxName {
		color: #666666;
	}

	.boxPrice {
		position: absolute;
		font-size: 16px;
		font-family: Arial, "宋体";
		font-weight: bolder;
		color: #ff3300;
		top: 188px;
		right: 5px;
		letter-spacing: 0px;
	}

	.boxPrice strong {
		font-size: 12px;
		font-weight: lighter;
		font-family: "Microsoft Yahei", "微软雅黑", Tahoma, Arial, Helvetica, STHeiti;
		color: #666666;
	}

	.boxPrice span {
		font-size: 12px;
		font-weight: lighter;
	}

	.boxContent {
		color: #333333;
		line-height: 18px;
		font-size: 12px;
		padding: 3px 8px 8px 8px;
		padding-bottom: 0px;
	}

	.boxContact {
		color: #333333;
		letter-spacing: 0px;
		width: 210px;
		height: auto;
		padding: 8px;
		padding-top: 0px;
		line-height: 18px;
		overflow: hidden;
		font-size: 12px;
	}

	.boxContact img {
		vertical-align: middle;
		position: static;
	}

	.boxContact a {
		color: #333333;
		text-decoration: none;
	}

	.boxContact .num {
		font-size: 14px;
		letter-spacing: 0px;
		cursor: pointer
	}

	.boxDate {
		font-size: 12px;
		position: absolute;
		font-family: Arial, "宋体";
		color: #333333;
		line-height: 15px;
		top: 190px;
		left: 5px;
	}

	.boxDateOver {
		color: #999999;
	}
</style>



<!-- 配置文件 -->
<script type="text/javascript" src="__STATIC__ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__STATIC__ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
	var ue = UE.getEditor('content');
</script>

</body>
</html>